using System.Collections.Generic;
using System.Threading.Tasks;
using ThridGroup.ERP.Application.Contracts.DTO;
using Volo.Abp.Application.Services;

namespace ThridGroup.ERP.Application.Contracts.ProductionSystem
{
    /// <summary>
    /// 点检保养计划管理服务接口
    /// </summary>
    public interface IMaintenanceplanService : IApplicationService
    {
        /// <summary>
        /// 添加点检保养计划
        /// </summary>
        Task<int> AddMaintenanceplan(MaintenanceplanDto maintenanceplanDto);

        /// <summary>
        /// 获取所有点检保养计划
        /// </summary>
        Task<List<MaintenanceplanDto>> GetMaintenanceplans();

        /// <summary>
        /// 获取单个点检保养计划
        /// </summary>
        Task<MaintenanceplanDto> GetMaintenanceplan(int id);

        /// <summary>
        /// 更新点检保养计划
        /// </summary>
        Task<int> UpdateMaintenanceplan(MaintenanceplanDto maintenanceplanDto);

        /// <summary>
        /// 删除点检保养计划
        /// </summary>
        Task DeleteMaintenanceplan(int id);
    }
} 